import request from '@/utils/request'

export function fetchMarketServiceLogList(data) {
  return request({
    url: '/system/marketservice/MarketServiceLog/list',
    method: 'post',
    data
  })
}

export function getMarketServiceLog(id) {
  return request({
    url: '/system/marketservice/MarketServiceLog/detail/' + id,
    method: 'get'
  })
}

export function createMarketServiceLog(data) {
  return request({
    url: '/system/marketservice/MarketServiceLog/add',
    method: 'post',
    data
  })
}

export function updateMarketServiceLog(data) {
  return request({
    url: '/system/marketservice/MarketServiceLog/update',
    method: 'post',
    data
  })
}

export function deleteMarketServiceLog(ids) {
  return request({
    url: '/system/marketservice/MarketServiceLog/delete',
    method: 'post',
    data: { ids }
  })
}

